import request from '@/pages/api/request.js';

function spikesActivityList(data){
	return request({
		method: "POST",
		url: 'spikes/activity/list',
		data : data
	})
}

function spikesGoodsList(data){
	return request({
		method: "POST",
		url: 'spikes/goods/list',
		data : data
	})
}

function getGoodsIdInfo(data){
	return request({
		method: "POST",
		url: 'spikes/goods/info',
		data : data
	})
}

function getOrderInfoBygoodsID(data){
	return request({
		method: "POST",
		url: 'spikes/goods/info',
		data : data
	})
}

function SpikesCreateOrder(data){
	return request({
		method: "POST",
		url: 'spikes/order/create',
		data : data 
	})
}

export default{
	spikesActivityList,
	spikesGoodsList,
	getGoodsIdInfo,
	getOrderInfoBygoodsID,
	SpikesCreateOrder,
}